<?php
// require paths.php or else HOME_PATH is not available
require_once("../../includes/paths.php");
// require the class
require_once(HOME_PATH.'homeLib.class.php');
// Define the method to be executed
$method = $_GET['func'];
// Make a new object
$news = new Connenct;
// Depending on the method called, call the method
call_user_func(array($news, $method));
?>